/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author Kevin
 */
public class OrderRule
{
    private int order_id;
    private Product product;
    private int amount;
    private double price;
    
    public OrderRule(int order_id, Product product, int amount, double price)
    {
        this.order_id = order_id;
        this.product = product;    
        this.amount = amount;
        this.price = price;
    }

    public int getOrderId()
    {
        return order_id;
    }

    public void setOrderId(int order_id)
    {
        this.order_id = order_id;
    }
    
    public Product getProduct()
    {
        return product;
    }

    public void setProduct(Product product)
    {
        this.product = product;
    }    
    
    public int getAmount()
    {
        return amount;
    }

    public void setAmount(int amount)
    {
        this.amount = amount;
    }    
    
    public double getPrice() 
    {
        return price;
    }
    
    public void setPrice(double price) 
    {
        this.price = price;
    }
}
